@charset "utf-8";
// reset
* {
  box-sizing: border-box;
  outline: none;
}
html {
  font-size: 13px;
}

/*Arial, Helvetica, sans-serif;   
  所有设备， 苹果，非衬线 */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;  
  line-height: 1.2em;
  background-color: #f1f1f1;
}

a {
  color: #999;
  text-decoration: none;
}

$colors: (
  "primary": #db9e3f,
  "white": #fff,
  "light": #f9f9f9,
  "grey": #999,
  "dark-1": #343440,
  "dark": #222,
  "black": #000,
);

// flex 
.d-flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}

/* 横向*/
$flex-jc: (
  start: flex-start,
  start: flex-start,
  center: center,
  between: space-between,
  around: space-around,
);
/*@each $key, $val in $flex-jc {
  .jc-#{$key} {
    justify-content: $val;
  }
} */

/* 纵向 */
$flex-al: (
  start: flex-start,
  start: flex-start,
  center: center,
  stretch: stretch
);
/* @each $key, $val in $flex-al {
  .jc-#{$key} {
    justify-content: $val;
  }
} */

.flex-1 {
  flex: 1;
}
.flex-grow-1 {
  flex-grow: 1;
}

/* spacing */
$spacing-types: (m: margin, p: padding);
$spacing-directions: (t: top, r: right, b: bottom, l: left);
$spacing-base-size: 1rem;
$spacing-sizes: (
  0: 0,
  1: 0.25, 
  2: 0.5, 
  3: 1, 
  4: 1.5, 
  5: 3,
);

// m-1
/* @each $typeKey, $type in $spacing-types {
  @each $directionKey, $direction in $spacing-directions {
    .#{$typeKey}-#{$sizeKey} {
      #{$type}: $size * $spacing-base-size; 
    }
  } 
} */

// mx-1, my-1
/* @each $typeKey, $type in $spacing-types {
  .#{$typeKey}x-#{$sizeKey} {
    #{$type}-left: $size * $spacing-base-size;
    #{$type}-right: $size * $spacing-base-size;
  }
  .#{$typeKey}y-#{$sizeKey} {
    #{$type}-top: $size * $spacing-base-size;
    #{$type}-bottom: $size * $spacing-base-size;
  }
} */

// .mt-1 {}
/*@each $typeKey, $type in $spacing-types {
  @each $directionKey, $direction in $spacing-directions {
    @each $sizeKey, $size in $spacing-sizes {
      .#{$typeKey}#{$directionKey}-#{$sizeKey} {
        #{$type}-#{$direction}: $size * $spacing-base-size; 
      }
    }
  } 
}*/

li {
  color: #ccc;
}
  


